package com.yungongyu.mapper;

import com.yungongyu.pojo.StorageRecotd;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface StorageRecotdMapper {

    /**
     * 查询入库记录表  按照商品名称(模糊查询)，供货商ID，支付转态
     */
    public List<StorageRecotd> selectStorageRecotd(@Param("StorageRecotd") StorageRecotd storageRecotd,@Param("pageBegin") Integer Begin,@Param("pageSize") Integer pageSize);

    /**
     * 新增入库单
     */
    public  Integer insertStorageRecotd(StorageRecotd storageRecotd);

    /**
     * 修改入库单
     */
    public  Integer updateStorageRecotd(StorageRecotd storageRecotd);

    /**
     * 删除入库单
     */
    public  Integer deleteStorageRecotd(Integer id);

    /**
     * 查询入库单明细
     */
    public  List<StorageRecotd> getStorageRecotd(Integer id);
}
